integer power math word problem